var a = getApp();

Page({
  data: {
    show: !1,
    num: 0,
    page: 0,
    prenumber: 6,
    cdType: "",
    wzshow: !0
  },
  particulars: function(a) {

  },
  dictionaries: function(t) {

  },
  clockColor: function(a) {
    console.log(a.target.dataset.num), 
    console.log(a.target.dataset.id);

    var t = this;
    t.setData({
      into_id: a.currentTarget.dataset.ueid,
      num: a.target.dataset.num,
      cdType: a.target.dataset.id,
      hj_id:a.target.dataset.id,
      show: !1,
      arr: "",
      page: 0,
      noFlag: !1
    }), t.getAllhjfllist();
  },
  clickshow: function(a) {
    this.setData({
      show: !0
    });
  },
  clickhide: function(a) {
    this.setData({
      show: !1
    });
  },
  onclick1: function(t) {

  },
  lower1: function() {

  },
  onLoad: function(options) {
    var hj_id = options.hj_id
    this.setData({
      hj_id: hj_id
    })
    this.getAllhjfllist()
  },
  onShow: function() {

  },
  share: function(a) {

  },
  getAllhjfllist: function() {
    var that = this
    var hj_id = that.data.hj_id
    console.log(hj_id)
    a.util.request({
      'url': 'entry/wxapp/huanjiao.allhjfenl',
      data: {
        hj_id: hj_id,
        op: 'post'
      },
      success: function(res) {
        console.log(res)
        var Wpost = res.data.fenl
        var hjlist = res.data.hjlist
        that.setData({
          Wpost: Wpost,
          hjlist: hjlist
        })
      }
    })
  }
});